@charset "utf-8";
@import "var";

// *********************** task-details ***********************

#banner {
  padding: 50px 0;
  background-color: #ADD8E6;
}

.banner-body {


  .banner-ct {
    float: left;
    width: 40%;
    font-size: 16px;
    text-indent: 1px;
    letter-spacing: 1px;
  }

  .banner-btn {
    float: right;
    display: block;
    height: 50px;
    line-height: 50px;
    width: 250px;
    text-align: center;
    text-indent: 2px;
    letter-spacing: 2px;
    border-radius: 4px;
    color: #FFF;
    background-color: #4fc08d;
    font-size: 16px;
  }
}

// 面包屑部分
#crumb {
  margin: 20px 0 50px;

  a {
    color: #5BBC2E;
    font-size: 14px;
    margin-right: 20px;
    display: inline-block;
    position: relative;

    &:after {
      content: '';
      position: absolute;
      top:0;
      right: -20px;
      width: 18px;
      height: 18px;
      background-image: url("/yunzhuVue/image/next.svg");
      background-repeat: no-repeat;
      background-position: 50%;
      background-size: 100%;
    }

    &:last-child {
      color: #000;
      margin-right: 0;
      cursor: default;

      &:after {
        content: none;
      }
    }
  }
}

// 任务详情部分
#task-main {

}

// 左边标题部分
#task-details{
  width: 65%;
  display: inline-block;
}

.task-head {
  padding-bottom: 10px;
  border-bottom: 2px solid #000;

  .task-title {

    h2 {
      float: left;
      width: 80%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: 20px;
      margin-right: 10%;
      margin-bottom: 10px;
    }

    p {
      float: right;
      display: inline-block;
      border-radius: 4px;
      font-size: 12px;
      color: #FFF;
      padding: 0 2px;
      margin-top: 6px;
      background-color: #5CBD30;
    }
  }

  .task-tag {
    position: relative;
    padding-left: 24px;

    span {
      display: inline-block;
      margin-left: 20px;
    }

    &:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 24px;
      height: 24px;
      background-image: url("/yunzhuVue/image/sv-tag.svg");
      background-repeat: no-repeat;
      background-position: 50% 0;
      background-size: 90%;
    }
  }
}

// 任务要求
.task-dtl-main {
  padding-bottom: 50px;
}

// 标题
.tk-dt-tt {
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0 10px;
}

// 描述
.task-describe {


  .article {
    text-indent: 34px;
    letter-spacing: 1px;
    line-height: 1.666;
    height: 180px;
    overflow: hidden;
    @extend .animate-default;
  }

  .shadow {
    &:after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 20px;
      width: 100%;
      height: 50px;
      background: -webkit-linear-gradient(top,hsla(0,0%,100%,0),#fff);
      background: linear-gradient(180deg,hsla(0,0%,100%,0),#fff);
    }
  }

  .more-ct {
    font-size: 14px;
    text-align: right;
    position: relative;

    a {
      //float: right;
      color: #5CBD30;
    }

    span, img {
      vertical-align: middle;
    }

    img {
      width: 16px;
      height: 16px;
    }
  }
}

//要求
.task-ask {


  .task-ask-list {
    line-height: 1.666;
  }
}

// 文件下载
.demand-file {

  .demand-file-list {
    background-color: #ADD8E6;
    overflow: hidden;
    border-radius: 10px;
    padding: 20px;
    @extend .border-box;

    li {
      margin-bottom: 10px;
      &:last-child {
        margin-bottom: 0;
      }

      a {
        float: left;
        color: #000;
        max-width: 85%;
        padding-left: 24px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        position: relative;

        &:before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 20px;
          height: 20px;
          background-image: url("/yunzhuVue/image/word.svg");
          background-repeat: no-repeat;
          background-position: 50% 0;
          background-size: 100%;
        }
      }

      img {
        float: right;
        width: 18px;
        vertical-align: text-bottom;
      }
    }
  }
}

// 内容右边-发布者相关详情
#task-related {
  float: right;
  width: 30%;
  padding: 20px;
  border: 1px solid #000;
  @extend .border-box;
}

.related-head {
  padding-bottom: 20px;
  border-bottom: 1px solid #000;
  display: table;

  .rlt-hd-master {
    text-align: center;
    width: 120px;
    display: table-cell;
    vertical-align: middle;

    .rlt-hd-img {
      width: 50px;
      height: 50px;
      margin: 0 auto 10px;
      overflow: hidden;
      border-radius: 50%;

      img {
        width: 100%;
        vertical-align: middle;
      }
    }
  }

  .rlt-company {
    display: table-cell;
    color: #000;
    vertical-align: middle;
  }
}

.related-details {

  .related-com {
    display: table;
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #000;

    &:last-child {
      border-bottom: 0;
    }

    .rlt-ask {
      display: table-cell;


      .related-ico {
        width: 20px;
        height: 20px;
        display: inline-block;
        vertical-align: middle;
        background-image: url("/yunzhuVue/image/word.svg");
        background-repeat: no-repeat;
        background-position: 50% 0;
        background-size: 100%;
      }

      span {
        vertical-align: middle;
      }
    }

    .rlt-asw {
      display: table-cell;

    }
  }
}

// 按钮
.related-btn {
  margin-top: 50px;

  .rlt-btn-com {
    margin-bottom: 20px;

    &:last-child {
      margin-bottom: 0;
    }

    p {
      float: left;
      width: 50%;
      font-size: 14px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .rlt-btn {
      float: right;
      text-align: center;
      display: inline-block;
      width: 120px;
      height: 40px;
      line-height: 40px;
      color: #5CBD30;
      border: 1px solid #5CBD30;
      border-radius: 6px;

      &:hover {
        background-color: #5CBD30;
        color: #FFF;
      }
    }

    .flt-btn-actv {
      background-color: #5CBD30;
      color: #FFF;
    }
  }
}














